package com.csun.cmny.provider.model.dto.callOutDoctorRecord;

import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class CallOutDoctorRecordSaveDto {

    //楼栋编号
    @NotEmpty(message = "{sanitation.budingNo.null}")
    private String budingNo;

    //房间编号
    @NotEmpty(message = "{sanitation.roomNo.null}")
    private String roomNo;

    //床位编号
    @NotEmpty(message = "{sanitation.bedNo.null}")
    private String bedNo;

    //老人id
    @NotNull(message = "{CMOldman.id.null}")
    private Long oldManId;

    //老人名字
    @NotEmpty(message = "{sanitation.oldmanName.null}")
    private String oldManName;

    //医生用户id
    @NotNull(message = "{callOutDoctor.doctorId.null}")
    private Long doctorUserId;

    //医生名字
    @NotEmpty(message = "{callOutDoctor.doctorName.null}")
    private String doctorName;
}
